import Vue from 'vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import '/src/assets/css/reset.css'

import api from './http/new_http';
import qs from 'qs'

Vue.use(ElementUI);
Vue.config.productionTip = false

// 禁止vue-devtools
const isDebug_mode = process.env.NODE_ENV !== 'production';
Vue.config.devtools = isDebug_mode;

Vue.prototype.$api = api;
Vue.prototype.$qs = qs;
